import {Request} from "@/components/until/Request";

//获取学生数据接口
function getStudentData(url,data){
    return Request.post(url,data);
}

//获取销售列表
function getSaleList(url,data){
    return Request.post(url,data); 
}
//获取学科下拉框
function getSubject(url,data){
    return Request.get(url,data);  
}
//添加未报名学生
function addStudent(url,data){
    return Request.post(url,data);
}
//删除学生
function deleteStudent(url,data){
    return Request.post(url,data);
}
//修改学生
function updateStudent(url,data){
    return Request.post(url,data);
}

//转成预招生
function toPreStudent(url,data){
    return Request.post(url,data);
}

//将学生批量转给销售
function StudentToSole(url,data){
    return Request.post(url,data);
}

export {getStudentData,getSaleList,getSubject,addStudent,deleteStudent,updateStudent,toPreStudent,StudentToSole}